package com.redistest.seckill.vo;

import com.redistest.seckill.pojo.Goods;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsVo extends Goods {
    @ApiModelProperty("秒杀价")
    private BigDecimal seckillPrice;
    @ApiModelProperty("库存数量")
    private Integer stockCount;
    @ApiModelProperty("秒杀开始时间")
    private Date startDate;
    @ApiModelProperty("秒杀结束时间")
    private Date endDate;
}
